package com.heima.day2;

import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        String[] strings = {"LOL","原神","游戏","抖音","睡觉"};
        System.out.println("今天晚上干什么？");
        Scanner sc=new Scanner(System.in);
        String s = sc.next();
        for (int i = 0; i < strings.length; i++) {
            if (s.contains(strings[i])){
                String s1 = s.replace(strings[i], "好好学习");
                System.out.println(s1);
                break;
            }
        }
    }
}
